Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /
Chapter 2 - JManager Reference / JManager Constants and Data Types
The Java Runtime Session


Proxy Server Options

When calling the JMSetProxyInfo function, you must pass a data structure containing information about the proxy server. The JMGetProxyInfo function returns information in this structure. The proxy server data structure is defined by the JMProxyInfo data type.

struct JMProxyInfo { 
   Boolean useProxy; 
   char proxyHost[255]; 
   UInt16 proxyPort; 
};
Field Description
useProxy
If set to true, the specified proxy is to be used.
proxyHost
The name of the proxy server.
proxyPort
The port number of the proxy server.
For more information about using this structure, see the JMGetProxyInfo function and JMSetProxyInfo function.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
10 DEC 1997